home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • Word Games • / Will of Fortune ••• / Will of Fortune еее.rsrc / CODE_3.txt < prev    next >
Text File  |  1989-03-23  |  9KB  |  172 lines

  1. # near model CODE resource
  2. # jump table entries: 64-75 (12 of them)
  3. export_10:
  4. 00000000  206F 000C                movea.l    A0, [A7 + 0xC]
  5. 00000004  2050                     movea.l    A0, [A0]
  6. 00000006  7003                     moveq.l    D0, 0x03
  7. 00000008  C028 0044                and.b      D0, [A0 + 0x44]
  8. 0000000C  72FC                     moveq.l    D1, 0xFFFFFFFC
  9. 0000000E  C338 0946                and.b      [0x00000946 /* ChooserBits */], D1
  10. 00000012  8138 0946                or.b       [0x00000946 /* ChooserBits */], D0
  11. 00000016  223C 000C 0000           move.l     D1, 0xC0000
  12. 0000001C  6016                     bra        +0x18 /* 00000034 */
  13. export_18:
  14. 0000001E  223C 0004 8004           move.l     D1, 0x48004
  15. 00000024  600E                     bra        +0x10 /* 00000034 */
  16. export_8:
  17. 00000026  223C 0008 0008           move.l     D1, 0x80008
  18. 0000002C  6006                     bra        +0x8 /* 00000034 */
  19. export_14:
  20. 0000002E  223C 0004 000C           move.l     D1, 0x4000C
  21. label00000034:
  22. 00000034  7003                     moveq.l    D0, 0x03
  23. 00000036  C038 0946                and.b      D0, [0x00000946 /* ChooserBits */]
  24. 0000003A  605E                     bra        +0x60 /* 0000009A */
  25. 0000003C  223C 0000 8000           move.l     D1, 0x8000
  26. 00000042  7006                     moveq.l    D0, 0x06
  27. 00000044  6054                     bra        +0x56 /* 0000009A */
  28. 00000046  223C 000C 8000           move.l     D1, 0xC8000
  29. 0000004C  7007                     moveq.l    D0, 0x07
  30. 0000004E  604A                     bra        +0x4C /* 0000009A */
  31. export_19:
  32. 00000050  223C 0004 8000           move.l     D1, 0x48000
  33. 00000056  6036                     bra        +0x38 /* 0000008E */
  34. export_15:
  35. 00000058  223C 0004 8004           move.l     D1, 0x48004
  36. 0000005E  602E                     bra        +0x30 /* 0000008E */
  37. export_13:
  38. 00000060  223C 0004 8008           move.l     D1, 0x48008
  39. 00000066  6026                     bra        +0x28 /* 0000008E */
  40. 00000068  223C 0004 000C           move.l     D1, 0x4000C
  41. 0000006E  601E                     bra        +0x20 /* 0000008E */
  42. 00000070  223C 0004 0010           move.l     D1, 0x40010
  43. 00000076  6016                     bra        +0x18 /* 0000008E */
  44. 00000078  223C 0008 8014           move.l     D1, 0x88014
  45. 0000007E  600E                     bra        +0x10 /* 0000008E */
  46. export_11:
  47. 00000080  223C 0004 8018           move.l     D1, 0x48018
  48. 00000086  6006                     bra        +0x8 /* 0000008E */
  49. export_16:
  50. 00000088  223C 0008 801C           move.l     D1, 0x8801C
  51. label0000008E:
  52. 0000008E  7004                     moveq.l    D0, 0x04
  53. 00000090  6008                     bra        +0xA /* 0000009A */
  54. export_12:
  55. 00000092  223C 0014 8000           move.l     D1, 0x148000
  56. 00000098  7005                     moveq.l    D0, 0x05
  57. label0000009A:
  58. 0000009A  41FA 0050                lea.l      A0, [PC + 0x50 /* 000000EC, value 0x0, cstring "" */]
  59. 0000009E  48D0 1810                movem.l    [A0], D4,A3,A4
  60. 000000A2  2801                     move.l     D4, D1
  61. 000000A4  265F                     movea.l    A3, [A7]+
  62. 000000A6  598F                     subq.l     A7, 4
  63. 000000A8  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  64. 000000AE  3F00                     move.w     -[A7], D0
  65. 000000B0  A9A0                     syscall    GetResource
  66. 000000B2  201F                     move.l     D0, [A7]+
  67. 000000B4  672A                     beq        +0x2C /* 000000E0 */
  68. 000000B6  2840                     movea.l    A4, D0
  69. 000000B8  08D4 0007                bset.b     [A4], 0x7
  70. 000000BC  2054                     movea.l    A0, [A4]
  71. 000000BE  7000                     moveq.l    D0, 0x00
  72. 000000C0  1004                     move.b     D0, D4
  73. 000000C2  D1C0                     add.l      A0, D0
  74. 000000C4  2F08                     move.l     -[A7], A0
  75. 000000C6  4217                     clr.b      [A7]
  76. 000000C8  205F                     movea.l    A0, [A7]+
  77. 000000CA  4E90                     jsr        [A0]
  78. 000000CC  4A44                     tst.w      D4
  79. 000000CE  6A04                     bpl        +0x6 /* 000000D4 */
  80. 000000D0  0894 0007                bclr.b     [A4], 0x7
  81. label000000D4:
  82. 000000D4  224B                     movea.l    A1, A3
  83. 000000D6  41FA 0014                lea.l      A0, [PC + 0x14 /* 000000EC, value 0x0, cstring "" */]
  84. 000000DA  4CD0 1810                movem.l    D4,A3,A4, [A0]
  85. 000000DE  4ED1                     jmp        [A1]
  86. label000000E0:
  87. 000000E0  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  88. 000000E6  4844                     swap.w     D4
  89. 000000E8  DEC4                     add.w      A7, D4
  90. 000000EA  60E8                     bra        -0x16 /* 000000D4 */
  91. 000000EC  0000 0000                ori.b      D0, 0x0
  92. 000000F0  0000 0000                ori.b      D0, 0x0
  93. 000000F4  0000 0000                ori.b      D0, 0x0
  94. fn000000F8:
  95. 000000F8  7018                     moveq.l    D0, 0x18
  96. label000000FA:
  97. 000000FA  4267                     clr.w      -[A7]
  98. 000000FC  51C8 FFFC                dbf        D0, -0x6 /* 000000FA */
  99. 00000100  41FA 0014                lea.l      A0, [PC + 0x14 /* 00000116, value 0x62E5072, pstring ".Print" */]
  100. 00000104  2F48 0012                move.l     [A7 + 0x12], A0
  101. 00000108  204F                     movea.l    A0, A7
  102. 0000010A  A000                     syscall    Open/PBHOpen/HOpen
  103. label0000010C:
  104. 0000010C  DEFC 0032                add.w      A7, 0x32 /* '2' */
  105. 00000110  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  106. 00000114  4E75                     rts
  107. 00000116  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  108. 0000011C  7420                     moveq.l    D2, 0x20
  109. 0000011E  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  110. 00000122  204F                     movea.l    A0, A7
  111. 00000124  317C FFFD 0018           move.w     [A0 + 0x18], 0xFFFD
  112. 0000012A  A001                     syscall    Close
  113. 0000012C  60DE                     bra        -0x20 /* 0000010C */
  114. export_9:
  115. 0000012E  205F                     movea.l    A0, [A7]+
  116. 00000130  225F                     movea.l    A1, [A7]+
  117. 00000132  201F                     move.l     D0, [A7]+
  118. 00000134  221F                     move.l     D1, [A7]+
  119. 00000136  341F                     move.w     D2, [A7]+
  120. 00000138  2F08                     move.l     -[A7], A0
  121. 0000013A  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  122. 0000013E  3F42 001A                move.w     [A7 + 0x1A], D2
  123. 00000142  2F41 001C                move.l     [A7 + 0x1C], D1
  124. 00000146  2F40 0020                move.l     [A7 + 0x20], D0
  125. 0000014A  2F49 0024                move.l     [A7 + 0x24], A1
  126. 0000014E  3F7C FFFD 0018           move.w     [A7 + 0x18], 0xFFFD
  127. 00000154  204F                     movea.l    A0, A7
  128. 00000156  A004                     syscall    Control
  129. 00000158  60B2                     bra        -0x4C /* 0000010C */
  130. export_17:
  131. 0000015A  619C                     bsr        -0x62 /* 000000F8 */
  132. 0000015C  6636                     bne        +0x38 /* 00000194 */
  133. 0000015E  7200                     moveq.l    D1, 0x00
  134. 00000160  6002                     bra        +0x4 /* 00000164 */
  135. 00000162  7201                     moveq.l    D1, 0x01
  136. label00000164:
  137. 00000164  594F                     subq.w     A7, 4
  138. 00000166  2F3C 5354 5220           move.l     -[A7], 0x53545220 /* 'STR ' */
  139. 0000016C  3F3C E000                move.w     -[A7], 0xE000
  140. 00000170  A9A0                     syscall    GetResource
  141. 00000172  201F                     move.l     D0, [A7]+
  142. 00000174  672C                     beq        +0x2E /* 000001A2 */
  143. 00000176  2240                     movea.l    A1, D0
  144. 00000178  554F                     subq.w     A7, 2
  145. 0000017A  08D1 0007                bset.b     [A1], 0x7
  146. 0000017E  2F11                     move.l     -[A7], [A1]
  147. 00000180  A997                     syscall    OpenResFile
  148. 00000182  301F                     move.w     D0, [A7]+
  149. 00000184  0891 0007                bclr.b     [A1], 0x7
  150. 00000188  610C                     bsr        +0xE /* 00000196 */
  151. 0000018A  4A41                     tst.w      D1
  152. 0000018C  6706                     beq        +0x8 /* 00000194 */
  153. 0000018E  3F00                     move.w     -[A7], D0
  154. 00000190  A99A                     syscall    CloseResFile
  155. 00000192  6102                     bsr        +0x4 /* 00000196 */
  156. label00000194:
  157. 00000194  4E75                     rts
  158. fn00000196:
  159. 00000196  31F8 0A60 0944           move.w     [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
  160. 0000019C  6702                     beq        +0x4 /* 000001A0 */
  161. 0000019E  584F                     addq.w     A7, 4
  162. label000001A0:
  163. 000001A0  4E75                     rts
  164. label000001A2:
  165. 000001A2  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  166. 000001A8  4E75                     rts
  167. 000001AA  3F78 0944 0004           move.w     [A7 + 0x4], [0x00000944 /* PrintErr */]
  168. 000001B0  4E75                     rts
  169. 000001B2  205F                     movea.l    A0, [A7]+
  170. 000001B4  31DF 0944                move.w     [0x00000944 /* PrintErr */], [A7]+
  171. 000001B8  4ED0                     jmp        [A0]
  172.